<html>
<head>
</head>
<body>
document.write("Hello World!")
</script>
</body>
</html>

And it produces this output:

Hello World!

#Title: How to Put a JavaScript Into an HTML Document
#Element: 43: How to Put a JavaScript Into an HTML Document
#Article: 40: JavaScript: How To Use the SCRIPT tag to insert ...